package com.example.prison.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 *
 * @TableName area_management
 */
@TableName(value ="area_management")
@Data
public class AreaManagement implements Serializable {
    /**
     * 区域ID
     */
    @ApiModelProperty(value = "区域ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 防区段编号
     */
    @ApiModelProperty(value = "防区段编号")
    @TableField(value = "defense_section")
    private String defenseSection;

    /**
     * 防区段点位编号
     */
    @TableField(value = "defense_section_point")
    private String defenseSectionPoint;

    /**
     * 防区段位置
     */
    @ApiModelProperty(value = "防区段位置")
    @TableField(value = "defense_address")
    private String defenseAddress;

    /**
     * 哨卫编号
     */
    @TableField(value = "sentry_post")
    private String sentryPost;

    /**
     * 哨位位置
     */
    @TableField(value = "sentry_address")
    private String sentryAddress;

    /**
     * 时间
     */
    @TableField(value = "time")
    private String time;

    /**
     * 防区状态（0关闭1开启2警告）
     */
    @ApiModelProperty(value = "防区状态")
    @TableField(value = "status")
    private Integer status;

    /**
     * 高压A实时电压值
     */
    @ApiModelProperty(value = "高压A实时电压值UHA")
    @TableField(value = "voltageA")
    private String voltageA;

    /**
     * 高压A实时电流值
     */
    @ApiModelProperty(value = "高压A实时电流值IHA")
    @TableField(value = "currentA")
    private String currentA;

    /**
     * 高压B实时电压值
     */
    @ApiModelProperty(value = "高压B实时电压值UHB")
    @TableField(value = "voltageB")
    private String voltageB;

    /**
     * 高压B实时电流值
     */
    @ApiModelProperty(value = "高压B实时电流值IHB")
    @TableField(value = "currentB")
    private String currentB;

    /**
     * 高压C实时电压值
     */
    @ApiModelProperty(value = "高压C实时电压值UHC")
    @TableField(value = "voltageC")
    private String voltageC;

    /**
     * 高压C实时电流值
     */
    @ApiModelProperty(value = "高压C实时电流值IHC")
    @TableField(value = "currentC")
    private String currentC;

    /**
     * 高压额定电压(5000V)
     */
    @ApiModelProperty(value = "高压额定电压UHABC")
    @TableField(value = "high_rated_voltage")
    private String highRatedVoltage;

    /**
     * 输入电源额定电压
     */
    @ApiModelProperty(value = "输入电源额定电压UABC")
    @TableField(value = "rated_voltage")
    private String ratedVoltage;

    /**
     * 输入电源额定电流
     */
    @ApiModelProperty(value = "输入电源额定电流IABC")
    @TableField(value = "rated_current")
    private String ratedCurrent;

    /**
     * 电压警戒等级
     */
    @ApiModelProperty(value = "电压警戒等级")
    @TableField(value = "alarm_level")
    private String alarmLevel;

    /**
     * 警情状态
     */
    @ApiModelProperty(value = "警情状态")
    @TableField(value = "alarm_status")
    private String alarmStatus;

    /**
     * 设备编号
     */
    @ApiModelProperty(value = "设备编号")
    @TableField(value = "device_number")
    private String deviceNumber;

    /**
     * 网关地址
     */
    @ApiModelProperty(value = "网关地址")
    @TableField(value = "gateway_address")
    private String gatewayAddress;

    /**
     * 网关端口
     */
    @ApiModelProperty(value = "网关端口")
    @TableField(value = "gateway_port")
    private String gatewayPort;

    /**
     * 模块地址
     */
    @ApiModelProperty(value = "模块地址")
    @TableField(value = "module_address")
    private String moduleAddress;

    /**
     * 是否检测（0否1是）
     */
    @ApiModelProperty(value = "是否检测（0否1是）")
    @TableField(value = "detection")
    private Integer detection;

    /**高压线型电压*/
    private String linearVoltage;

    /**
     * AB高压线型电压
     */
    @ApiModelProperty(value = "AB高压线型电压")
    @TableField(value = "linear_voltageAB")
    private String linearVoltageAB;

    /**
     * AC高压线型电压
     */
    @ApiModelProperty(value = "AC高压线型电压")
    @TableField(value = "linear_voltageAC")
    private String linearVoltageAC;

    /**
     * BC高压线型电压
     */
    @ApiModelProperty(value = "BC高压线型电压")
    @TableField(value = "linear_voltageBC")
    private String linearVoltageBC;

    /**
     * 是否标记
     */
    @ApiModelProperty(value = "是否标记")
    @TableField(value = "is_mark")
    private String isMark;

    /**
     * 标记ID
     */
    @ApiModelProperty("标记ID")
    @TableField(value = "mark_id")
    private String MarkId;

    @ApiModelProperty(value = "高压A实时状态")
    @TableField(value = "statusA")
    private String statusA;

    @ApiModelProperty(value = "高压B实时状态")
    @TableField(value = "statusB")
    private String statusB;

    @ApiModelProperty(value = "高压C实时状态")
    @TableField(value = "statusC")
    private String statusC;

    /**
     * 高压设置状态（布防/撤防）
     */
    @ApiModelProperty(value = "高压设置状态（布防0/撤防1）")
    @TableField(value = "setting")
    private String setting;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
